home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Over 1,000 Windows 95 Programs
/
Over 1000 Windows 95 Programs (Microforum) (Disc 1).iso
/
0159
/
vc.zip
/
VCDOC.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1995-12-30
|
2KB
|
81 lines
// vcdoc.cpp : implementation of the CVcDoc class
//
#include "stdafx.h"
#include "vc.h"
#include "vcdoc.h"
#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CVcDoc
IMPLEMENT_DYNCREATE(CVcDoc, CDocument)
BEGIN_MESSAGE_MAP(CVcDoc, CDocument)
//{{AFX_MSG_MAP(CVcDoc)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CVcDoc construction/destruction
CVcDoc::CVcDoc()
{
// TODO: add one-time construction code here
}
CVcDoc::~CVcDoc()
{
}
BOOL CVcDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CVcDoc serialization
void CVcDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CVcDoc diagnostics
#ifdef _DEBUG
void CVcDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CVcDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CVcDoc commands